const con = require("./self/sql");

// let sql = "select * from info";

// con.query(sql, (err, res, fields) => {
//     if (err) throw err;
//     console.log(res);
//     console.log(fields);
// })


let sql = "insert into info (name,sex,age) values ('搜索','女',18);";

con.query(sql, (err, res, fields) => {
    if (err) throw err;
    console.log(res);
})